package STUDENT.TRANNGUYENQUAN.OOPs.array.bai1;

import java.util.Scanner;

public class Views {
	public static void main(String[] args) {
		Controllers ctrl = new Controllers();
		Models model = new Models();
		ArrSoce arr = new ArrSoce();
		int i = 0;
		int numBuff = 0;
		Scanner sc;
		while (model.checkNumber(numBuff)) {
			System.out.println("enter number: ");
			sc = new Scanner(System.in);
			numBuff = sc.nextInt();
			if(numBuff < 0)
				{
				break;
				}
			else{
				ctrl.EnterNumber(arr, numBuff, i);
				i++;
			}
			
		}
		System.out.println(">= 5    = "+ ctrl.PosNumber(arr, i));
		System.out.println("<  5    = "+ ctrl.NeNumber(arr, i));
	}
}
